package com.cdtye.itps.cms.dao.deduction.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cdtye.common.mybatiscore.base.BaseEntity;
import com.cdtye.common.webcore.util.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 公里扣分项记录表
 * @author Jchen
 * @date 2021-09-24
 */
@ApiModel("公里扣分项记录表")
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("JCJC_KM_DEDUCTION")
public class JcjcKmDeduction extends BaseEntity {

    @ApiModelProperty(value = "铁路局id")
    private String deptJuId;

    @ApiModelProperty(value = "供电段id")
    private String deptId;

    @ApiModelProperty(value = "线路id")
    private String lineId;

    @ApiModelProperty(value = "行别id")
    private String directionId;

    @ApiModelProperty(value = "检测日期")
    @DateTimeFormat(pattern = DateUtil.DATETIME_FORMAT)
    @JSONField(format = DateUtil.DATETIME_FORMAT)
    private Date taskDate;

    @ApiModelProperty(value = "里程")
    private String mileage;

    @ApiModelProperty(value = "速度")
    private String speed;

    @ApiModelProperty(value = "扣分")
    private String deductNum;

    @ApiModelProperty(value = "是否合格  0否 1是")
    private String isQualified;

    @ApiModelProperty(value = "是否优良 0否 1是")
    private String isGood;

    @ApiModelProperty(value = "导入id")
    private String importId;

    @ApiModelProperty(value = "删除标志")
    private String delFlag;


}